package com.dw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * 
 * @TableName order
 */
@TableName(value ="order_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class OrderInfo implements Serializable {
    /**
     * pk
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    private String orderSn;

    /**
     * 
     */
    private Integer userId;

    /**
     * 0未支付 1已支付
     */
    private String orderStats;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}